package com.carkeeper.user.feign;

import com.carkeeper.common.utils.Result;
import com.carkeeper.user.pojo.Car;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "user")
public interface CarFeign {
    @GetMapping("/car/findByOrderCode/{code}")
    public Result<Car> findByOrderCode(@PathVariable("code") String code);
}
